package com.haircut.project.vo.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
public class ConfigSttVo {
    /**
     * id
     */
    @ApiModelProperty("id")
    @NotBlank(message = "项目id必须填写")
    private String id;
    /**
     * 数据状态(1、启用 2、禁用 99、删除)
     */
    @ApiModelProperty("数据状态(1、启用 2、禁用 99、删除)")
    @NotNull(message = "状态必须填写")
    @Range(min = 1,max = 2,message = "状态范围[1,2]")
    private Integer dataStts;
}
